package com.jf.dao;

import com.jf.bean.Banner;
import com.jf.util.PageInfo;

import java.util.List;

public interface BannerDao {
    List<Banner> getPage(PageInfo pageInfo, Banner banner);
    int getCount(Banner banner);
    int addSelect(Banner banner);
    int updateSelect(Banner banner);
    int batchDelete(int[] ids);
    Banner getById(int id);

    List<Banner> getList();
}
